{{#if data.clickUrl}}
    <a href="{{ data.clickUrl }}">
        <img {{#if data.openInNewTab}}target="_blank"{{/if}} width="100%" src="{{ data.fileName.src }}" />
    </a>
{{else}}
    <img width="100%" src="{{ data.fileName.src }}" />
{{/if}}